# $Id: PKGBUILD 69708 2012-04-22 22:26:24Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=poppler-sharp
pkgver=0.0.3
pkgrel=1
pkgdesc="C Sharp bindings for Poppler"
arch=('any')
url="https://github.com/jacintos/poppler-sharp"
license=('GPL')
depends=('gtk-sharp-2' 'poppler-glib')
source=(https://github.com/downloads/jacintos/$pkgname/$pkgname-$pkgver.tar.bz2)
sha256sums=('bb418431878d072c5606e2d55183695baf631e9942461bff668d1276ebc3431e')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}
